import { Component, OnInit } from '@angular/core';
import {MenuitemData} from './menu-item/menu-item.component'

@Component({
  selector: 'app-menu-bar',
  templateUrl: './menu-bar.component.html',
  styleUrls: ['./menu-bar.component.css']
})
export class MenuBarComponent implements OnInit {

  menuItems: MenuitemData[] =[
    {name: "item0", icon:"wechat", path:"page0"},
    {name: "item1", icon:"weibo", path:"page1"},
    {name: "item2", icon:"twitter", path:"page2"},
    {name: "item3", icon:"youtube", path:"page3"},
  ];
  constructor() { }

  ngOnInit(): void {
  }

}
